import React from 'react';

import '../../style/itemMsg.less'


class ItemMsgOther extends React.Component {
    render() {
        return (
            <div className="ItemMsgOther">
                <div className="left">
                    <img className="avatar"
                         src={this.props.msg.avatar}/>
                </div>
                <div className="right">
                    <div className="name">{this.props.msg.name}</div>
                    <div className="msgArea">
                        {this.props.msg.content}&nbsp;
                    </div>
                </div>
            </div>
        )
    }
}

export default ItemMsgOther
